from tkinter import*



x1= int(input())
y1= int(input())
k= int(input())
window=Tk()
window.title('program_7_1')
canvas= Canvas(window, width=500, height=500, bg= 'black')
x2=x1+10*k
y2=y1+20*k
x3=x2
y3=x1+ 10*k
x4=x3+10*k
y4=y3+20*k
if x4<=500 and y4<=500:
    canvas.create_rectangle(x1,y1,x2,y2,fill="white",outline="green")
    canvas.create_rectangle(x3,y3,x4,y4,fill="white",outline="green")
else:
    canvas.creat_text(250,280, text="Размер фигуры превышает максимальный размер поля", front="Verdana 12", justify=CENTER,fill="purple")

canvas.pack()
window.mainloop()




